<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>应用详情</h2>
    </div>
    <form action="{:U()}" method="post" enctype="multipart/form-data" class="form-horizontal">
        <div class="form-item" hidden>
            <label class="item-label">id</label>
            <div class="controls">
                <input type="text" class="text input-large" name="id" value="{$app.id}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">标识</label>
            <div class="controls">
                <input type="text" class="text input-large" name="appid" value="{$app.appid}" disabled>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">名称</label>
            <div class="controls">
                <input type="text" class="text input-large" name="appname" value="{$app.appname}" disabled>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">appkey</label>
            <div class="controls">
                <input type="text" class="text input-large" name="appkey" value="{$app.appkey}" disabled>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">secretkey</label>
            <div class="controls">
                <input type="text" class="text input-large" name="secretkey" value="{$app.secretkey}" disabled>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">应用类别</label>
            <div class="controls">
                <input type="text" class="text input-large" name="apptype" value="{$app.apptype}" disabled>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">应用URL</label>
            <div class="controls">
                <input type="text" class="text input-large" name="appurl" value="{$app.appurl}" disabled>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">应用环境</label>
            <div class="controls">
              <input type="text" class="text input-large" name="appenvironment" value="{$app.appenvironment}" disabled>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">应用权限</label>
            <input type="text" class="text input-large" name="appenvironment" value="{$app.approot}" disabled>
        </div>
        <div class="form-item cf">
            <label class="item-label">简介</label>
            <div class="controls">
              <div class="controls">
                <textarea disabled name="about" rows=10 class="text input-large block">{$app.about}</textarea>
              </div>
            </div>
        </div>
        <eq name="app['status']" value="1">
        <div class="form-item">
            <a href="{:U('Appmanagement/approve',array('id'=>$app['id']))}" class="confrim btn btn-lg btn-success">通过</a>
            <a href="{:U('Appmanagement/reject',array('id'=>$app['id']))}" class="btn btn-lg btn-danger">不通过</a>
        </div>
        </eq>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
    </script>
</block>
